home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CCountryStorageMesh
- {
- string MeshFile = "Models/B_Country_Storage.mesh";
- string SkinFile = "Models/B_Country_Storage.skin";
- }
-
- class CCountryStorageStateControl extends CUnitLifeControl
- {
- void CCountryStorageStateControl()
- {
- CUnitLifeControl(10000.0);
- m_DestroyPause = 20.0;
- m_ExplosionId = "EXPLID_BuildingExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseCountryStorage extends CBuilding, CUnitWithStateControl
- {
- void CBaseCountryStorage()
- {
- InitializeModelAsStatic("CCountryStorageMesh");
- CUnitWithStateControl("CCountryStorageStateControl");
- }
- }
-
- // Single game object
- class CMountedCountryStorage extends CBaseCountryStorage
- {
- void CMountedCountryStorage()
- {
- InitializeGroundControl();
- }
- }
-
-
-
-